package com.beici.waterghost.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;

public class node {
    @TableId(type = IdType.INPUT)
    private Long nodeId;

    private Integer userId;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private String userHeader;

    @TableField(exist = false)
    private String[] arrImgs;

    private String nodeTag;

    private String nodeMess;

    private Integer nodeLook;

    private Boolean nodeCommentFlag;

    private Date nodeTime;

    private Integer nodeLike;

    private Integer nodeState;
    @TableField(exist = false)
    private Boolean collentState =true;

    private String nodeIp;

    private String nodeImages;

    public Boolean getNodeCommentFlag() {
        return nodeCommentFlag;
    }

    @Override
    public String toString() {
        return "node{" +
                "nodeId=" + nodeId +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userHeader='" + userHeader + '\'' +
                ", arrImgs=" + Arrays.toString(arrImgs) +
                ", nodeTag='" + nodeTag + '\'' +
                ", nodeMess='" + nodeMess + '\'' +
                ", nodeLook=" + nodeLook +
                ", nodeCommentFlag=" + nodeCommentFlag +
                ", nodeTime=" + nodeTime +
                ", nodeLike=" + nodeLike +
                ", nodeState=" + nodeState +
                ", nodeIp='" + nodeIp + '\'' +
                ", nodeImages='" + nodeImages + '\'' +
                '}';
    }

    public Boolean getCollentState() {
        return collentState;
    }

    public void setCollentState(Boolean collentState) {
        this.collentState = collentState;
    }

    public void setNodeCommentFlag(Boolean nodeCommentFlag) {
        this.nodeCommentFlag = nodeCommentFlag;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setUserHeader(String userHeader) {
        this.userHeader = userHeader;
    }

    public String getUserName() {
        return userName;
    }

    public String getUserHeader() {
        return userHeader;
    }

    public String[] getArrImgs() {
        return arrImgs;
    }

    public void setArrImgs(String[] arrImgs) {
        this.arrImgs = arrImgs;
    }

    public Long getNodeId() {
        return nodeId;
    }

    public void setNodeId(Long nodeId) {
        this.nodeId = nodeId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNodeTag() {
        return nodeTag;
    }

    public void setNodeTag(String nodeTag) {
        this.nodeTag = nodeTag == null ? null : nodeTag.trim();
    }

    public String getNodeMess() {
        return nodeMess;
    }

    public void setNodeMess(String nodeMess) {
        this.nodeMess = nodeMess == null ? null : nodeMess.trim();
    }

    public Integer getNodeLook() {
        return nodeLook;
    }

    public void setNodeLook(Integer nodeLook) {
        this.nodeLook = nodeLook;
    }

    public Date getNodeTime() {
        return nodeTime;
    }

    public void setNodeTime(Date nodeTime) {
        this.nodeTime = nodeTime;
    }

    public Integer getNodeLike() {
        return nodeLike;
    }

    public void setNodeLike(Integer nodeLike) {
        this.nodeLike = nodeLike;
    }

    public Integer getNodeState() {
        return nodeState;
    }

    public void setNodeState(Integer nodeState) {
        this.nodeState = nodeState;
    }

    public String getNodeIp() {
        return nodeIp;
    }

    public void setNodeIp(String nodeIp) {
        this.nodeIp = nodeIp == null ? null : nodeIp.trim();
    }

    public String getNodeImages() {
        return nodeImages;
    }

    public void setNodeImages(String nodeImages) {
        this.nodeImages = nodeImages == null ? null : nodeImages.trim();
    }
}